package com.design.homework.hw0317.observer.gperadvice.v2.user;


import com.design.homework.hw0317.observer.gperadvice.v2.question.GPerQuestion;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author qiqiang.ren
 * @since 2019/3/20
 */
@Data
@AllArgsConstructor
public abstract class AbstractTeacher {
    private String name;
    private Integer age;
    private Integer gender;

    public abstract void answer(GPerQuestion question);
}
